package com.roubsite.admin.dao.rsRoleMenu;

import com.roubsite.admin.bean.ZTree;
import com.roubsite.database.bean.Record;
import com.roubsite.database.dao.DataSet;

import java.util.List;

public interface IRsRoleMenuDao {
	public DataSet queryd(Record record, int start, int rows);

	public DataSet getInfoById(String id);

	public int saveData(Record record, Class<?> bean);

	public int del(List ids) throws Exception;

	public List<ZTree> getRoleMenuTree(String roleId);

	public int delByRoleId(String roleId);

	public int insertRoleMenu(String roleId, List<String> menuIds);
}
